home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
util
/
restools.sit
/
ResTools 3.20.rsrc
/
HTXT_6_Resource Syntax_
< prev
next >
Wrap
Text File
|
1988-12-28
|
844b
|
24 lines
The syntax of resources in similiar to that of C structures. To get the
syntax of a specific supported resource type use the template menu to
insert a template of the desired type into an editing window. Modify the
syntax as needed. The types of resources are directly supported. User
defined resources can also be defined.
ALRT ANYB BNDL CNTL
CODE CURS DITL DLOG
FWID TEXT FREF ICON
ICN# HEXA MBAR MENU
PAT PAT# PICT SICN
SIZE STR STR# WIND
sysz nrct mach
In general, resources are enclosed in brackets that are preceeded by the
keyword 'resource' followed by the resource type, followed by the attributes
enclosed in parenthesis. Within the parenthesis are the ID number
and any other optional attributes. See format below:
resource 'TYPE' (128, preLoad, purgeable)
{
definitions...
}